# $Id: PKGBUILD 65333 2012-02-21 02:10:03Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: eric <eric@archlinux.org>
# Contributor: dorphell <dorphell@gmx.net>

pkgname=ude
pkgver=0.2.10a
pkgrel=4
pkgdesc="Unix Desktop Environment is a GUI desktop environment"
arch=('i686' 'x86_64')
license=('GPL')
depends=('libjpeg' 'libxmu' 'libxpm')
url="http://udeproject.sourceforge.net/index.shtml"
source=(http://downloads.sourceforge.net/udeproject/uwm-$pkgver.tar.gz
	$pkgname.desktop)
md5sums=('1370418179f56612ffe63d6ed0c89d13'
         '84f94253ea284258c4465cd76edf599f')

build() {
  cd $srcdir/uwm-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/uwm-$pkgver
  mkdir -p $pkgdir/etc/X11/sessions
  make prefix=$pkgdir/usr install
  cp $srcdir/$pkgname.desktop $pkgdir/etc/X11/sessions
  mv $pkgdir/usr/doc $pkgdir/usr/share/
}
